package com.tb.pojo;

import java.util.ArrayList;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserPassIsNull() {
            addCriterion("user_pass is null");
            return (Criteria) this;
        }

        public Criteria andUserPassIsNotNull() {
            addCriterion("user_pass is not null");
            return (Criteria) this;
        }

        public Criteria andUserPassEqualTo(String value) {
            addCriterion("user_pass =", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassNotEqualTo(String value) {
            addCriterion("user_pass <>", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassGreaterThan(String value) {
            addCriterion("user_pass >", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassGreaterThanOrEqualTo(String value) {
            addCriterion("user_pass >=", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassLessThan(String value) {
            addCriterion("user_pass <", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassLessThanOrEqualTo(String value) {
            addCriterion("user_pass <=", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassLike(String value) {
            addCriterion("user_pass like", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassNotLike(String value) {
            addCriterion("user_pass not like", value, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassIn(List<String> values) {
            addCriterion("user_pass in", values, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassNotIn(List<String> values) {
            addCriterion("user_pass not in", values, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassBetween(String value1, String value2) {
            addCriterion("user_pass between", value1, value2, "userPass");
            return (Criteria) this;
        }

        public Criteria andUserPassNotBetween(String value1, String value2) {
            addCriterion("user_pass not between", value1, value2, "userPass");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("real_name is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("real_name is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("real_name =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("real_name <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("real_name >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("real_name >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("real_name <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("real_name <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("real_name like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("real_name not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("real_name in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("real_name not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("real_name between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("real_name not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceIsNull() {
            addCriterion("user_address_province is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceIsNotNull() {
            addCriterion("user_address_province is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceEqualTo(String value) {
            addCriterion("user_address_province =", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceNotEqualTo(String value) {
            addCriterion("user_address_province <>", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceGreaterThan(String value) {
            addCriterion("user_address_province >", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("user_address_province >=", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceLessThan(String value) {
            addCriterion("user_address_province <", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceLessThanOrEqualTo(String value) {
            addCriterion("user_address_province <=", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceLike(String value) {
            addCriterion("user_address_province like", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceNotLike(String value) {
            addCriterion("user_address_province not like", value, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceIn(List<String> values) {
            addCriterion("user_address_province in", values, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceNotIn(List<String> values) {
            addCriterion("user_address_province not in", values, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceBetween(String value1, String value2) {
            addCriterion("user_address_province between", value1, value2, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressProvinceNotBetween(String value1, String value2) {
            addCriterion("user_address_province not between", value1, value2, "userAddressProvince");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityIsNull() {
            addCriterion("user_address_city is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityIsNotNull() {
            addCriterion("user_address_city is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityEqualTo(String value) {
            addCriterion("user_address_city =", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityNotEqualTo(String value) {
            addCriterion("user_address_city <>", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityGreaterThan(String value) {
            addCriterion("user_address_city >", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityGreaterThanOrEqualTo(String value) {
            addCriterion("user_address_city >=", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityLessThan(String value) {
            addCriterion("user_address_city <", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityLessThanOrEqualTo(String value) {
            addCriterion("user_address_city <=", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityLike(String value) {
            addCriterion("user_address_city like", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityNotLike(String value) {
            addCriterion("user_address_city not like", value, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityIn(List<String> values) {
            addCriterion("user_address_city in", values, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityNotIn(List<String> values) {
            addCriterion("user_address_city not in", values, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityBetween(String value1, String value2) {
            addCriterion("user_address_city between", value1, value2, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressCityNotBetween(String value1, String value2) {
            addCriterion("user_address_city not between", value1, value2, "userAddressCity");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaIsNull() {
            addCriterion("user_address_area is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaIsNotNull() {
            addCriterion("user_address_area is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaEqualTo(String value) {
            addCriterion("user_address_area =", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaNotEqualTo(String value) {
            addCriterion("user_address_area <>", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaGreaterThan(String value) {
            addCriterion("user_address_area >", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaGreaterThanOrEqualTo(String value) {
            addCriterion("user_address_area >=", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaLessThan(String value) {
            addCriterion("user_address_area <", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaLessThanOrEqualTo(String value) {
            addCriterion("user_address_area <=", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaLike(String value) {
            addCriterion("user_address_area like", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaNotLike(String value) {
            addCriterion("user_address_area not like", value, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaIn(List<String> values) {
            addCriterion("user_address_area in", values, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaNotIn(List<String> values) {
            addCriterion("user_address_area not in", values, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaBetween(String value1, String value2) {
            addCriterion("user_address_area between", value1, value2, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressAreaNotBetween(String value1, String value2) {
            addCriterion("user_address_area not between", value1, value2, "userAddressArea");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetIsNull() {
            addCriterion("user_address_street is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetIsNotNull() {
            addCriterion("user_address_street is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetEqualTo(String value) {
            addCriterion("user_address_street =", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetNotEqualTo(String value) {
            addCriterion("user_address_street <>", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetGreaterThan(String value) {
            addCriterion("user_address_street >", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetGreaterThanOrEqualTo(String value) {
            addCriterion("user_address_street >=", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetLessThan(String value) {
            addCriterion("user_address_street <", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetLessThanOrEqualTo(String value) {
            addCriterion("user_address_street <=", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetLike(String value) {
            addCriterion("user_address_street like", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetNotLike(String value) {
            addCriterion("user_address_street not like", value, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetIn(List<String> values) {
            addCriterion("user_address_street in", values, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetNotIn(List<String> values) {
            addCriterion("user_address_street not in", values, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetBetween(String value1, String value2) {
            addCriterion("user_address_street between", value1, value2, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserAddressStreetNotBetween(String value1, String value2) {
            addCriterion("user_address_street not between", value1, value2, "userAddressStreet");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andRolerIdIsNull() {
            addCriterion("roler_id is null");
            return (Criteria) this;
        }

        public Criteria andRolerIdIsNotNull() {
            addCriterion("roler_id is not null");
            return (Criteria) this;
        }

        public Criteria andRolerIdEqualTo(Integer value) {
            addCriterion("roler_id =", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdNotEqualTo(Integer value) {
            addCriterion("roler_id <>", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdGreaterThan(Integer value) {
            addCriterion("roler_id >", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("roler_id >=", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdLessThan(Integer value) {
            addCriterion("roler_id <", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdLessThanOrEqualTo(Integer value) {
            addCriterion("roler_id <=", value, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdIn(List<Integer> values) {
            addCriterion("roler_id in", values, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdNotIn(List<Integer> values) {
            addCriterion("roler_id not in", values, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdBetween(Integer value1, Integer value2) {
            addCriterion("roler_id between", value1, value2, "rolerId");
            return (Criteria) this;
        }

        public Criteria andRolerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("roler_id not between", value1, value2, "rolerId");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNull() {
            addCriterion("user_email is null");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNotNull() {
            addCriterion("user_email is not null");
            return (Criteria) this;
        }

        public Criteria andUserEmailEqualTo(String value) {
            addCriterion("user_email =", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotEqualTo(String value) {
            addCriterion("user_email <>", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThan(String value) {
            addCriterion("user_email >", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThanOrEqualTo(String value) {
            addCriterion("user_email >=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThan(String value) {
            addCriterion("user_email <", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThanOrEqualTo(String value) {
            addCriterion("user_email <=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLike(String value) {
            addCriterion("user_email like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotLike(String value) {
            addCriterion("user_email not like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailIn(List<String> values) {
            addCriterion("user_email in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotIn(List<String> values) {
            addCriterion("user_email not in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailBetween(String value1, String value2) {
            addCriterion("user_email between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotBetween(String value1, String value2) {
            addCriterion("user_email not between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserPayPassIsNull() {
            addCriterion("user_pay_pass is null");
            return (Criteria) this;
        }

        public Criteria andUserPayPassIsNotNull() {
            addCriterion("user_pay_pass is not null");
            return (Criteria) this;
        }

        public Criteria andUserPayPassEqualTo(String value) {
            addCriterion("user_pay_pass =", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassNotEqualTo(String value) {
            addCriterion("user_pay_pass <>", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassGreaterThan(String value) {
            addCriterion("user_pay_pass >", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassGreaterThanOrEqualTo(String value) {
            addCriterion("user_pay_pass >=", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassLessThan(String value) {
            addCriterion("user_pay_pass <", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassLessThanOrEqualTo(String value) {
            addCriterion("user_pay_pass <=", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassLike(String value) {
            addCriterion("user_pay_pass like", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassNotLike(String value) {
            addCriterion("user_pay_pass not like", value, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassIn(List<String> values) {
            addCriterion("user_pay_pass in", values, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassNotIn(List<String> values) {
            addCriterion("user_pay_pass not in", values, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassBetween(String value1, String value2) {
            addCriterion("user_pay_pass between", value1, value2, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserPayPassNotBetween(String value1, String value2) {
            addCriterion("user_pay_pass not between", value1, value2, "userPayPass");
            return (Criteria) this;
        }

        public Criteria andUserStatusIsNull() {
            addCriterion("user_status is null");
            return (Criteria) this;
        }

        public Criteria andUserStatusIsNotNull() {
            addCriterion("user_status is not null");
            return (Criteria) this;
        }

        public Criteria andUserStatusEqualTo(Integer value) {
            addCriterion("user_status =", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotEqualTo(Integer value) {
            addCriterion("user_status <>", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusGreaterThan(Integer value) {
            addCriterion("user_status >", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_status >=", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusLessThan(Integer value) {
            addCriterion("user_status <", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusLessThanOrEqualTo(Integer value) {
            addCriterion("user_status <=", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusIn(List<Integer> values) {
            addCriterion("user_status in", values, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotIn(List<Integer> values) {
            addCriterion("user_status not in", values, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusBetween(Integer value1, Integer value2) {
            addCriterion("user_status between", value1, value2, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("user_status not between", value1, value2, "userStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}